package com.qingfeng.client.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingfeng.client.bean.StoreGoodsGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
public interface StoreGoodsGroupMapper extends BaseMapper<StoreGoodsGroup> {
    List<Map<String, Object>> getGroupByStore(@Param("storeId") long storeId, @Param("parentId") Long parentId);

    boolean deleteGroup(@Param("id") Long id,@Param("storeId") Integer storeId);
}
